from django.contrib import admin

from fleet.models import StaticFleet, MovingFleet

class StaticFleetAdmin(admin.ModelAdmin):
    list_display=["hyperiums_id","planet","owner","amount_fleet","amount_GA","last_update_date"]
    list_display_links=["hyperiums_id",]
    list_filter=["last_update_date",]
admin.site.register(StaticFleet, StaticFleetAdmin)

class MovingFleetAdmin(admin.ModelAdmin):
    list_display=["hyperiums_id","planet_destination","arrival_time","owner","amount_fleet","amount_GA","last_update_date"]
    list_display_links=["hyperiums_id",]
    list_filter=["last_update_date",]
admin.site.register(MovingFleet, MovingFleetAdmin)
